﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admini/MasterDetail.Master" AutoEventWireup="true" CodeBehind="PermissDetail.aspx.cs" Inherits="ART.Admini.Setting.DesktopDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" runat="server">
 <div id="h_main">
        <span class="red">◆</span> 表示必填字段</div>
    <div id="h_operate" style="padding-top: 5px;">
        <table border="0" cellpadding="0" cellspacing="1" bgcolor="#ffffff" width="100%">
            <tr>
                <td class="td_title">
                    <span class="red">◆</span> 权限名称：</td>
                <td class="td_content">
                    <asp:TextBox ID="txtDesktopName" runat="server" MaxLength="25"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator1" runat="server" ErrorMessage="名称不能为空!" ControlToValidate="txtDesktopName"
                        ValidationGroup="add" Display="None"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="td_title">
                    上级菜单：</td>
                <td class="td_content">
                    <asp:DropDownList ID="dropParentId" runat="server" >
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="td_title">
                    <span class="red">◆</span> 排序：</td>
                <td class="td_content">
                    <asp:TextBox ID="txtSort" runat="server" onkeypress="isNum()" Width="60px">0</asp:TextBox>
                    <span>填写数字</span><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                        ErrorMessage="排序不能为空!" ControlToValidate="txtSort" ValidationGroup="add" Display="None"></asp:RequiredFieldValidator><asp:RangeValidator
                            ID="RangeValidator1" runat="server" ControlToValidate="txtSort" Display="None"
                            ErrorMessage="请正确填写排序!" MaximumValue="100000" MinimumValue="0" Type="Integer"
                            ValidationGroup="add"></asp:RangeValidator></td>
            </tr>
            <tr>
                <td class="td_title">
                    是否显示：</td>
                <td class="td_content">
                    <asp:CheckBox ID="ccbIshow" runat="Server" Checked="true" Text="是" />
                </td>
            </tr>
            <tr>
                <td class="td_title">
                   <span class="red">◆</span> 链接地址：</td>
                <td class="td_content">
                   <asp:TextBox ID="txtDesktopUrl" runat="server" Width="260px">#</asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator4" runat="server" ErrorMessage="链接地址不能为空!" ControlToValidate="txtDesktopUrl"
                        ValidationGroup="add" Display="None"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr id="permore" runat="server">
                <td class="td_title">
                    快速添加：</td>
                <td class="td_content">
                <asp:CheckBox runat="server" ID="cbPerAdd" Text="添加/修改"/>&nbsp;
                <asp:CheckBox runat="server" ID="cbPerEdit" Text="查看"/>&nbsp;
                <asp:CheckBox runat="server" ID="cbPerDel" Text="删除"/>&nbsp;
                </td>
            </tr>

            
        </table>
    </div>
    <div id="h_bottom">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <contenttemplate>
        <asp:Button ID="btnSave" OnClick="btnSave_Click" runat="server" Text="确 定" class="btn"  ValidationGroup="add">
        </asp:Button>
        &nbsp;
        <input id="Button1" type="button" value="关 闭" onclick="closeDlg()" class="btn" /><asp:ValidationSummary
            ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false"
            ValidationGroup="add" />
        </contenttemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
